package com.stu.spring.context.chapter10.tran;

public class MyBook {

	private Long id;

	private String name;

	private Integer price;

	private String note;

	public MyBook() {
	}

	public MyBook(Long id, String name, Integer price, String note) {
		this.id = id;
		this.name = name;
		this.price = price;
		this.note = note;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
}
